<extend name="Public/base"/>
<block name="body">
<div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
            <h5>{$meta_title}</h5>
             <div class="buttons">
                 <a class="btn"  href="{:U('Admin/Auth/addRole')}">添加角色</a>
             </div>
           </div>
          <div class="widget-content ">
            <table class="table table-bordered table-striped with-check">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>角色名</th>
                    <th>角色描述</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
              </thead>
              <tbody>
                 <volist name="list" id="vo">
                    <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.remark}</td>
                    <td><if condition="$vo['status']">开启<else/>关闭</if></td>
                    <td><a href="{:U('Admin/Auth/access',array('rid'=>$vo['id'] ))}">配置权限</a></td>
                    </tr>
                 </volist>
              </tbody>
            </table>
          </div>
        </div>
</block>